<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
function getId(id){ return document.getElementById(id); }
function init(){
	getId('btnList').onclick=function(){
		location.href='MyHome.jsp?inc_content=./member/list.jsp';
	}
}
</script>
</head>
<body>
<jsp:useBean id="bean" class="member.Login" scope="page"/>
<jsp:setProperty property="*" name="bean"/>
<%
	boolean f = bean.modify();
	if(f) 
		out.print("정상적으로 수정되었습니다.");
	else 
		out.print("수정이 실패하였습니다");
%>
	<input type='button' id='btnList' value='목록'>


<%-- <h1>회원정보 수정결과</h1>
<li>아이디 : <%=bean.getMemberid() %>
<li>암호 : <%=bean.getPwd() %>
<li>새 암호 : <%=bean.getNewPwd1() %> --%>
<script>
init(); 
</script>

</body>
</html>